package com.example.forumbackend.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.forumbackend.entity.character.User;
import com.example.forumbackend.entity.character.UserRole;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author chenguo
 * @since 2021-10-04
 */
public interface UserRoleService extends IService<UserRole> {
    /**
     * find role by his userId
     * @param userList user list
     * @return userRoleList
     */
    public List<UserRole> findRoleByIds(Integer id);
}
